YAYDP\Abstracts\YAYDP_Cart_Discount_Rule S

Total Complexity 27
Dependencies 2
Dependents 0
Total lines 188
Lines of code 104
Logical lines of code 44
Comment lines 64
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
calculate_adjustment()
S
49 4 33
replace_tooltip_variables()
S
56 4 17
get_coupon_code()
S
68 4 6
get_tooltip()
S
70 3 6
get_coupon_data()
S
53 1 23
get_name()
S
78 2 3
get_pricing_type()
S
77 2 3
get_pricing_value()
S
77 2 3
get_maximum_adjustment_amount()
S
74 2 4
add_encouraged_notice()
S
100 1 0
process()
S
80 1 3
is_excluded()
S
79 1 3